package com.itheima.six;

public class Frog extends Animal implements Swim{
    public Frog() {
    }

    public Frog(String age) {
        super(age);
    }

    @Override
    public void eat() {
        System.out.println("吃虫子");
    }

    @Override
    public void swimming() {
        System.out.println("青蛙会游泳");
    }
}
